package cn.pid21.client.model.datapid;

import cn.pid21.client.model.datapid.BaseMetadata;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author : zhangdx
 * @create Date : 2021/8/18 16:30
 */
@Data
@ToString
@JacksonXmlRootElement(localName = "metadata_wrapper")
public class MetaDataWrapper {
    /**
     * 数据集元数据
     */
    @JacksonXmlElementWrapper(localName = "metadatas")
    @JacksonXmlProperty(localName = "metadata")
    private List<BaseMetadata> metadatas;

    /**
     * cstr 前缀
     */
    @JacksonXmlProperty
    private String prefix;
}
